package com.lyz.subject.domain.service;

import com.lyz.subject.common.entity.PageResult;
import com.lyz.subject.domain.entity.SubjectInfoBo;

/**
 * 题目领域服务
 *
 * @author: YizeLee
 * @date: 2024/3/26
 */
public interface SubjectInfoDomainService {

    /**
     * 新增题目
     */
    void add(SubjectInfoBo subjectInfoBo);

    /**
     * 分页查询
     */
    PageResult<SubjectInfoBo> getSubjectPage(SubjectInfoBo subjectInfoBo);

    /**
     * 查询题目详情
     */
    SubjectInfoBo querySubjectInfo(SubjectInfoBo subjectInfoBo);
}
